<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/01.css"/>
	</head>
	
	
	<body>
		<h1>复用功能</h1>
		<div class="ddd">
			<h3>居中</h3>
			<h3>@extend .center----继承，将一个class放入另一个class中</h3>
		</div>
		
		<div class="eee">
			<h3>靠右</h3>
			<h3>@mixin right($r){ text-align: $r; }-----定义变量</h3>
			<h3>@include right(right)------给变量赋值</h3>
		</div>
		
		
	</body>
</html>
 